package com.zondy.mapgis.psmap.manager.constant;

import java.util.regex.Pattern;

public class DataConstants {
   public static final Long ROOT_DATA_PARENT_ID = 0L;
   public static final Long ROOT_DATA_ID = 100L;
   public static final String ROOT_DATA_NAME = "root";
   public static final int DATA_TYPE_FOLDER = 0;
   public static final int DATA_TYPE_LEAF = 1;
   public static final Integer DEFAULT_ORDER_NUM = 1024;
   public static final String DEFAULT_LAYER_PROPERTIES = "{\"alpha\": 100, \"maximumScreenSpaceError\": 16, \"luminanceAtZenith\": 0.2, \"scaleX\": 1, \"scaleY\": 1, \"scaleZ\": 1, \"enablePopup\": false, \"enableModelSwitch\": false, \"enableModelStretch\": false, \"offset\": -2, \"fillClip\": false}";
   public static final String DEFAULT_EXTENDED_PROPERTIES = "{\"location\": true, \"checked\": false, \"roll\": true, \"selfAdaption\": false, \"legend\": \"\"}";
   public static final String RESTV2_SERVERURL_PREFIX = "/igs/rest/services/";
   public static final String LABEL = "label";
   public static final String DESCRIBE = "describe";
   public static final String IP = "ip";
   public static final String PORT = "port";
   public static final String LAYER_SERVICE_TYPE = "layerServiceType";
   public static final String NAME = "name";
   public static final String SEARCH_NAME = "searchName";
   public static final String SEARCH_SERVICE_TYPE = "searchServiceType";
   public static final String SERVER_URL = "serverUrl";
   public static final String TOKEN_KEY = "tokenKey";
   public static final String TOKEN = "token";
   public static final String WFS_URL = "wfsUrl";
   public static final String MODEL = "model";
   public static final String EXTENT = "extent";
   public static final String GUID = "guid";
   public static final String DATA = "data";
   public static final String GDB_TYPE_LIST = "gdbTypeList";
   public static final String CHILDREN = "children";
   public static final String MAXIMUM_SCREEN_SPACE_ERROR = "maximumScreenSpaceError";
   public static final int MAXIMUM_SCREEN_SPACE_ERROR_DEFAULT_VALUE = 16;
   public static final String LUMINANCE_AT_ZENITH = "luminanceAtZenith";
   public static final double LUMINANCE_AT_ZENITH_DEFAULT_VALUE = 0.2;
   public static final String ALPHA = "alpha";
   public static final int ALPHA_DEFAULT_VALUE = 100;
   public static final String SCALE_X = "scaleX";
   public static final int SCALE_X_DEFAULT_VALUE = 1;
   public static final String SCALE_Y = "scaleY";
   public static final int SCALE_Y_DEFAULT_VALUE = 1;
   public static final String SCALE_Z = "scaleZ";
   public static final int SCALE_Z_DEFAULT_VALUE = 1;
   public static final String ENABLE_POPUP = "enablePopup";
   public static final boolean ENABLE_POPUP_DEFAULT_VALUE = false;
   public static final String ENABLE_MODEL_SWITCH = "enableModelSwitch";
   public static final boolean ENABLE_MODEL_SWITCH_DEFAULT_VALUE = false;
   public static final String ENABLE_MODEL_STRETCH = "enableModelStretch";
   public static final boolean ENABLE_MODEL_STRETCH_DEFAULT_VALUE = false;
   public static final String OFFSET = "offset";
   public static final int OFFSET_DEFAULT_VALUE = -2;
   public static final String FILL_CLIP = "fillClip";
   public static final boolean FILL_CLIP_DEFAULT_VALUE = false;
   public static final String HAS_SECTION_GEOMETRY = "hasSectionGeometry";
   public static final boolean HAS_SECTION_GEOMETRY_DEFAULT_VALUE = false;
   public static final String LOCATION = "location";
   public static final boolean LOCATION_DEFAULT_VALUE = true;
   public static final String CHECKED = "checked";
   public static final boolean CHECKED_DEFAULT_VALUE = false;
   public static final String ROLL = "roll";
   public static final boolean ROLL_DEFAULT_VALUE = true;
   public static final String SELF_ADAPTION = "selfAdaption";
   public static final boolean SELF_ADAPTION_DEFAULT_VALUE = false;
   public static final String LEGEND = "legend";
   public static final String LEGEND_DEFAULT_VALUE = "";
   public static final String REGISTER_SERVICE_REPLACE_SERVER_ADDR = "{{GatewayBaseAddress}}";
   public static final Pattern REGISTER_SERVICE_REPLACE_SERVER_ADDR_REG = Pattern.compile("{{GatewayBaseAddress}}", 16);

   private DataConstants() {
   }
}
